<script>
	import {
		mapMutations
	} from 'vuex'
	export default {
		methods: {
			...mapMutations(['setSystemInfo']),
		},
		onLaunch: function() {
			console.log('App Launch', 1)
			let info = uni.getSystemInfoSync()
			this.setSystemInfo(info)
		},
		onShow: function() {
			console.log('App Show', 2)
		},
		onHide: function() {
			console.log('App Hide', 3)
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */

	@font-face {
		font-family: 'iconfont';
		src: url('@/utils/iconfont/iconfont.woff2?t=1683856705249') format('woff2'),
			url('@/utils/iconfont/iconfont.woff?t=1683856705249') format('woff'),
			url('@/utils/iconfont/iconfont.ttf?t=1683856705249') format('truetype');
	}

	.iconfont {
		font-family: "iconfont" !important;
		font-size: 16px;
		font-style: normal;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	image {
		width: 100%;
	}
</style>